package com.naiterui.ehp.bs.cms.modules.wms.vo;

import java.util.Date;

import com.naiterui.ehp.bs.cms.common.json.Dict;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author yangfuya
 * @since 2021/11/10
 */
@Data
@ApiModel(description = "药品默认用法用量和安全用量")
public class MedicineDefaultUsageVO {
    @ApiModelProperty(value = "药品Id")
    private Long id;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "通用名")
    private String commonName;

    @ApiModelProperty(value = "默认用法用量：0.未配置 1.已配置")
    private Integer defaultUsage;

    @ApiModelProperty(value = "安全用法用量：0.未配置 1.已配置")
    private Integer safeUsage;

    @ApiModelProperty(value = " 安全分类，1：处方药；2：otc，如果使用文字，则使用nmpaTypeDescribe 字段")
    @Dict(type = "product_nmpa_type")
    private Integer nmpaType;

    @ApiModelProperty(value = "最后配置时间")
    private Date lastConfigTime;

    @ApiModelProperty(value = "外包装单位（盒、瓶。。。)")
    private String packingUnit;

    @ApiModelProperty(value = "最小规格包装数（如：一盒有多少片 ）")
    private Integer packagSpec;

    @ApiModelProperty(value = "最小包装单位")
    private String packingUnitLimit;

    @ApiModelProperty("开始时间")
    private String startTime;

    @ApiModelProperty("结束时间")
    private String endTime;

    @ApiModelProperty("用法用量")
    private String usageDosage;
}
